Accusoft.ImagXpress13.Net
FromByteArray(ImagXpress,Byte[],Int32) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
A byte array to obtain the image from.
An integer which represents the page number.
Returns an ImageX object from the given ImagXpress instance, byte array and page number.
Syntax
'Declaration
 
Public Overloads Shared Function FromByteArray( _
   ByVal imagXpress As ImagXpress, _
   ByVal buffer() As Byte, _
   ByVal pageNumber As Integer _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim buffer() As Byte
Dim pageNumber As Integer
Dim value As ImageX
 
value = ImageX.FromByteArray(imagXpress, buffer, pageNumber)
public static ImageX FromByteArray( 
   ImagXpress imagXpress,
   byte[] buffer,
   int pageNumber
)
public: static ImageX* FromByteArray( 
   ImagXpress* imagXpress,
   byte[]* buffer,
   int pageNumber
) 
public:
static ImageX^ FromByteArray( 
   ImagXpress^ imagXpress,
   array<byte>^ buffer,
   int pageNumber
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
buffer
A byte array to obtain the image from.
pageNumber
An integer which represents the page number.

Return Value

The newly created ImageX object.
Remarks

The ImageX object implements the IDisposable interface and the application is required to call the Dispose method when the application is done with ImageX object, otherwise memory may leak.

See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback